package homework.day08;

import java.util.ArrayList;
import java.util.Collection;

/**
 * @Classname: HomeWork02
 * @Author: bromide
 * @CreateTime: 2022/4/6--18:52
 * @Version: V1.0
 * @Description: 改错题
 */
public class HomeWork02 {
    public static void main(String[] args) {
        Collection<String> c = new ArrayList<>();
        c.add("one");
        c.add("two");
        c.add("three");
        c.add("four");
        c.add("five");
        for (String s : c) {
            System.out.println(s);
        }
    }
}
